from django.urls import path, include
from django.contrib.auth import views as auth_views
from . import views
from rest_framework import routers
from . import views

# router = routers.DefaultRouter()
# router.register(r'auth', views.AuthViewSet, basename='auth')

app_name = 'login'

urlpatterns = [
    path('login', views.user_login, name='login'),
    path('register', views.register, name='register'),
    # path('test_redis', views.test_redis, name='test_redis'),
    # path('', include(router.urls)),
    path('send_sms_code', views.send_sms_code, name='send_sms_code'),
    path('mobile_login', views.mobile_login, name='mobile_login'),
]